import React from 'react'
import { Provider } from 'react-redux'
import { BrowserRouter as Router } from 'react-router-dom'
import store from '../store'
import RouterView from './router.view'
function Index(props) {
    return (
        <Provider store={store}>
            <Router>
                <RouterView routes={props.routes}></RouterView>
            </Router>
        </Provider>
    )
}

export default Index
